package com.sky.entity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 路线实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Api(tags = "路线实体类")
public class Route implements Serializable {
    // 主键
    @ApiModelProperty("主键")
    private Long id;

    // 用户id
    @ApiModelProperty("用户id")
    private Long userId;

    // 订单号
    @ApiModelProperty("订单号")
    private String ordersNumber;

    // 商家坐标
    @ApiModelProperty("商家坐标")
    private String AdminLocation;

    // 用户坐标
    @ApiModelProperty("用户坐标")
    private String userLocation;

    // 路线距离
    @ApiModelProperty("路线距离")
    private Long distance;
}
